home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / owlbwcc.zip / BWCDELAY.RC < prev    next >
Text File  |  1992-02-02  |  3KB  |  52 lines

  1. /*****************************************************************/
  2. /* BWCDELAY.RC defines a simple Borland Windows Custom Control   */
  3. /* Dialog Box that can be used as the main window.               */
  4. /* Notice the CLASS "BORDLG" to activate the metalic background  */
  5. /* Also notice the special "Borshade" Control.                   */
  6. /*****************************************************************/
  7.  
  8. #include "windows.h"
  9. #include "bwcc.h"
  10. #include "BWCDELAY.H"  // used for equates for check box buttons
  11.  
  12. MAINWINDOWDIALOG DIALOG 22, 10, 176, 169
  13. CAPTION "Borland Check Boxes"
  14. CLASS "BORDLG"
  15. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  16. BEGIN
  17.     CONTROL "        Delayed On / Off", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 78, 102, 36
  18.     CONTROL "Radar Unit 12", IDB_RADAR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 90, 90, 10
  19.     CONTROL "Confabulator 12", IDB_CONFABULATOR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 102, 90, 10
  20.     CONTROL "        Not Implemented", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 126, 102, 36
  21.     CONTROL "Radar Unit 13", 140, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 138, 90, 10
  22.     CONTROL "Confabulator 13", 150, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 150, 90, 10
  23.     CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 336, 210, 114, 1
  24.     CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 162, 60
  25.     CTEXT "Delayed action from a check box toggle", -1, 12, 12, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
  26.     CTEXT "Is achieved by letting the default process", -1, 12, 24, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
  27.     CTEXT "Take care of toggling the box ON and OFF.", -1, 12, 36, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  28.     CTEXT "Checking the status and perfoming actions", -1, 12, 46, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  29.     CTEXT "is handled later in response to the OK button.", -1, 12, 56, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  30.     CONTROL "", 104, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 72, 174, 3
  31.     CONTROL "", 105, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 120, 126, 1
  32.     CONTROL "Button", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 84, 32, 20
  33.     CONTROL "", 107, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 126, 72, 2, 96
  34.     CONTROL "Button", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 132, 32, 20
  35. END
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.